package online.heycm;

/**
 * @author hey
 * @version 1.0
 * @since 2024-8-16 20:42:19
 */
public enum PageSize {

    // A4尺寸：595.28mm x 841.89mm（595x842）
    A4(595.28f, 841.89f),;

    private final float width;
    private final float height;

    PageSize(float width, float height) {
        this.width = width;
        this.height = height;
    }

    public float width() {
        return width;
    }

    public float height() {
        return height;
    }
}
